package com.safe.ly_safe.entity;

import java.io.Serializable;

/**
 * @PACKAGE :com.safe.ly_safe.entity
 * @Author : HSF
 * @Time : On 2022/4/22 16:01
 * @Description : BaseEntity
 */
public class BaseEntity<T> implements Serializable {

    private int status;

    private String msg;

    private T data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "BaseEntity{" +
                "status=" + status +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
